package com.burstly.lib.feature;

import android.content.res.AssetManager;
import com.h2.org.springframework.beans.factory.IResourceManager;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;

final class ResourceManager
  implements IResourceManager
{
  private final AssetManager mAssetManager;

  ResourceManager(AssetManager paramAssetManager)
  {
    this.mAssetManager = paramAssetManager;
  }

  public Reader getReader(File paramFile)
    throws IOException
  {
    return new InputStreamReader(getResource(paramFile));
  }

  public InputStream getResource(File paramFile)
    throws IOException
  {
    String str = paramFile.getPath();
    return this.mAssetManager.open(str);
  }

  public InputStream getResource(String paramString)
    throws IOException
  {
    return this.mAssetManager.open(paramString);
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.burstly.lib.feature.ResourceManager
 * JD-Core Version:    0.6.2
 */